package com.rbac.api.exception;

import com.rbac.api.controller.enums.HintMessageEunm;

public class AdminAllException extends Exception {

    //存放返回提示信息的枚举类
    private HintMessageEunm hintMessageEunm;

    public AdminAllException(){

    }

    //构造方法
    public AdminAllException(HintMessageEunm resMessageEnum) {
        //调用下面的 set 方法
        this.hintMessageEunm = resMessageEnum;
    }

    //
    public HintMessageEunm getHintMessageEunm() {
        return hintMessageEunm;
    }

    public void setHintMessageEunm(HintMessageEunm hintMessageEunm) {
        this.hintMessageEunm = hintMessageEunm;
    }
}
